Problem Note 42854: "Error: Start value greater than end value" might be received when using the ODS Graphics procedures
The following error message might be received when you create a graph with one of the ODS Graphics procedures:
java.lang.RuntimeException: Error: Start value is greater than end value
at com.sas.text.SASUserDefinedFormat.addCharacterRange(SASUserDefinedFormat.java:552)
at com.sas.text.SASUserDefinedFormat.addSegment(SASUserDefinedFormat.java:483)
The problem is most likely to occur when using a character format that contains a hyphen (-) within the value. For example:
proc format;
value $ myfmt
'B-A'='Brooks and Adams';
run;
To circumvent the problem, include double quotation marks within the values when defining the format. For example:
proc format;
value $ myfmt
'"B-A"'='Brooks and Adams';
run;
Operating System and Release Information
SAS System | N/A | z/OS | 9.2 TS1M0 | 9.4 TS1M3 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.4 TS1M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
Microsoft Windows XP Professional | 9.2 TS1M0 | |
Windows Vista | 9.2 TS1M0 | |
Windows Vista for x64 | 9.2 TS1M0 | |
64-bit Enabled AIX | 9.2 TS1M0 | 9.4 TS1M3 |
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.4 TS1M3 |
64-bit Enabled Solaris | 9.2 TS1M0 | 9.4 TS1M3 |
HP-UX IPF | 9.2 TS1M0 | 9.4 TS1M3 |
Linux | 9.2 TS1M0 | 9.4 TS1M3 |
Linux for x64 | 9.2 TS1M0 | 9.4 TS1M3 |
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.4 TS1M3 |
Solaris for x64 | 9.2 TS1M0 | 9.4 TS1M3 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-04-04 14:11:15 |
Date Created: | 2011-04-01 12:55:59 |